package com.hogan.hoganproject.base.utils;

/**
 * Created by chenhu on 2017/10/13.
 * 检查是否为NULL工具类
 */

public class CheckIsNullUtils {

    public CheckIsNullUtils() {
    }

    public static <T> T checkIsNotNull(T reference) {
        if (null == reference) {
            throw new NullPointerException();
        }
        return reference;
    }
}
